const webAppRouter = {
    path: '/webapp',
    name: 'webapp',
    meta: { title: '智能体' },
    redirect: '/webapp/chat',
    component: () => import('@/views/webapp/layout/AppLayout.vue'),
    children: [
      {
        path: '/webapp/chat',
        name: 'webappChat',
        meta: { 
          title: '智能问数', 
          activeMenu: '/webapp/chat',
          parentPath: '/webapp',
          parentName: 'webapp',
          icon: 'znws',
         },
        component: () => import('@/views/webapp/chat.vue')
      },
      {
        path: '/webapp/metric/market',
        name: 'webappMetricMarket',
        meta: { 
          title: '指标体系', 
          activeMenu: '/webapp/metric/market',
          parentPath: '/webapp',
          parentName: 'webapp',
          icon: 'zbtx',
        },
        component: () => import('@/views/webapp/metric/market.vue')
      },
    ]
  }
  
  export default webAppRouter
  